feat: add deep_extract to ExtractSettings interface#62
feat: add deep_extract to ExtractSettings interface#62devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
Add the deep_extract boolean option to the ExtractSettings interface to match the Python SDK. This enables Node SDK users to use Deep Extract, an agentic extraction mode that iteratively refines output for near-perfect accuracy. Co-Authored-By: sandeep <sandeep@reducto.ai>
Original prompt from sandeep
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Summary
Adds the
deep_extractoptional boolean field to theExtractSettingsinterface in the Node SDK, bringing it to parity with the Python SDK. The API backend already supports this field on the V3ExtractSettingsmodel.Deep Extract is an agentic extraction mode that iteratively refines output for near-perfect accuracy on complex documents.
Review & Testing Checklist for Human
ExtractSettings(inreductoai/apisrc/config/v3.py) includesdeep_extractand wires it throughv3_extract_config_to_v1— this PR only adds the SDK type, so the backend must accept the fielddeep_extractso this manual edit isn't overwritten by the next Stainless SDK regenerationsettings: { deep_extract: true }against the production API to verify end-to-end functionalityNotes
deep_extractinExtractSettings. Consider syncing the spec to make this permanent.yarn build && yarn lint) pass cleanly with this change.Link to Devin session: https://app.devin.ai/sessions/50ee7ec50cd24ff9be4e70d8bd553718